export default {
    props: {
        schema: {
            type: String
        }
    },
    data() {
        return {
            schemas: [
                "HTTP",
                "HTTPS",
            ]
        }
    },
    emits: [
        'update:schema'
    ],
    template: `
    <div>
        <div>Схема</div>
        <div class="wa-select">
            <select v-model="schema" @input="$emit('update:schema',$event.target.value)">
                <option v-for="s in schemas" :key="s" :value="s">
                    {{s}}
                </option>
            </select>
        </div>
    </div>
    `
}
